package com.kaishengit.util;

import java.io.File;

public class FileDelUtil {

	public static void delFile(String path,String name) {
		File file = new File(path);
		if(file.exists()) {
			File[] files = file.listFiles();
			for(File f : files) {
				if(f.getName().equals(name)) {
					f.delete();
				}
			}
		}
	}
}
